/*
 * uart0_dbg.h
 *
 *  Created on: Nov 30, 2013
 *      Author: Nishanth
 */

#ifndef UART0_DBG_H_
#define UART0_DBG_H_

#define UART0_MMIO_BASE_PHY		0x44E09000
#define UART0_MMIO_SIZE			(4096)

static volatile uint32_t UART0_DBG_BASE;
//#define UART0_DBG_BASE UART0_MMIO_BASE_PHY

#define UART0_DBG_RHR		((volatile uint32_t)(UART0_DBG_BASE + 0x0))
#define UART0_DBG_THR		((volatile uint32_t)(UART0_DBG_BASE + 0x0))
#define UART0_DBG_LSR		((volatile uint32_t)(UART0_DBG_BASE + 0x14))

#define UART0_DBG_LSR_TXFIFOE	((uint8_t)(0x1 << 5))

#endif /* UART0_DBG_H_ */
